<button nz-button [nzType]="'primary'"  [routerLink]="['/routes/guard/anybody']">
  <span>不登录，往任何人都可以访问的地址跳，对应地址  routes/guard/anybody</span>
</button>

<button nz-button [nzType]="'primary'"  [routerLink]="['/routes/guard/admin']">
  <span>管理员的地址： routes/guard/admin</span>
</button>

<button nz-button [nzType]="'primary'"  [routerLink]="['/routes/guard/user']">
  <span>普通用户的的地址： routes/guard/user</span>
</button>

<button nz-button [nzType]="'primary'" [routerLink]="['/routes/guard/leave']" >
  <span>离开时验证</span>
</button>